package org.issaclu.springbootmybatis.user.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.issaclu.springbootmybatis.user.dto.UserDetail;

@Mapper
public interface UserDetailMapper {

    int insertUserDetail(UserDetail detail);
    int updateById(UserDetail detail);

    /**
     * 1. 测试一个入参时，Mapper文件中的参数名字可以怎么写
     * @param id ID
     * @return 删除行数
     */
    int deleteById(String id);
}
